package com.kingmed.kmss.common.bo.bpmn;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 为简化流程服务调用而创建，接口内转化为内部类型
 * @author 210918672
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TaskExBO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7499484523344709536L;

	@ApiModelProperty("任务ID")
	private String taskId;
	
	@ApiModelProperty("任务审批同过（当在非审批结点时要赋值为空，否则影响审批流状态状态）")
	private Boolean approved;
	
	@ApiModelProperty("审批/提交意见")
	private String comment;
	
	@ApiModelProperty("审批/提交用户ID-若不提供则默认为当前登录用户")
	private String startUserId;

	@ApiModelProperty("事务类型")
    private String bizType;

	@ApiModelProperty("业务ID")
    private String bizId;
	
	@ApiModelProperty("业务标题-如营销活动名称")
    private String bizTitle;

	@ApiModelProperty("合同失效时间，格式yyyy-MM-dd")
	private String contractEndDate;
	
}
